export const mixin = {
    data() {
        return {
            currentYear: new Date().getFullYear(),
            ifShowYearPicker: false,
            yearPickerParams: {
                year: true,
                // month: true,
                // day: true,
                // hour: false,
                // minute: false,
                // second: false,
            },
        }
    },
    computed: {

    },
    methods: {
        confirmYearPicker(e) {
            console.log(e);
            this.currentYear = e.year;
        },
        choosePicker() {
            this.ifShowYearPicker = true;
        },
    }
}